﻿using AllIsWell.Services.Infrastructure;
using AllIsWell.Web.Controllers;
using Moq;
using NUnit.Framework;

namespace AllIsWell.Web.Tests.Controllers.HomeControllerTests
{
    public abstract class HomeControllerTest
    {
        protected HomeController HomeController;
        protected Mock<IPageService> PageServiceMock;

        [SetUp]
        public void SetUp()
        {
            PageServiceMock = new Mock<IPageService>();
            HomeController = new HomeController(PageServiceMock.Object);
        }
    }
}